package redis

import (
	"github.com/go-redis/redis"
)

var instance *redis.Client

func GetClient() *redis.Client {
	if instance == nil {
		instance = redis.NewClient(&redis.Options{
			Addr:     "47.100.13.106:6379",
			Password: "linfp",
			DB:       0,
		})
	}

	return instance
}
